<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Settletime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-settletime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[settletime]" type="text" value="{:$row.settletime?datetime($row.settletime):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Info_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-info_id" data-rule="required" data-source="info/index" class="form-control selectpage" name="row[info_id]" type="text" value="{$row.info_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('First_cate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-first_cate" min="0" class="form-control" name="row[first_cate]" type="number" value="{$row.first_cate|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Two_cate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-two_cate" min="0" class="form-control" name="row[two_cate]" type="number" value="{$row.two_cate|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Region_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-region_id" data-rule="required" data-source="region/index" class="form-control selectpage" name="row[region_id]" type="text" value="{$row.region_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Upgrade')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-upgrade" class="form-control" name="row[upgrade]" type="number" value="{$row.upgrade|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-money" min="0" class="form-control" step="0.01" name="row[money]" type="number" value="{$row.money|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
